import React,{Component} from 'react'
import {Link} from 'react-router-dom'
export default class About extends Component {
    render(){
        console.log(this.props)
        return (
            <div>
                this is about page
                <br />
                <Link to="/about/a" >a sub page</Link>
                <br />
                <Link to="/about/b">b sub page</Link>
                {this.props.children}
            </div>
        )
    }
}
